package Pages;

import appium1.common.Helper;
import org.openqa.selenium.WebElement;

public class PageQQ {
    private Helper helper;

    public PageQQ(Helper helper) {

        this.helper = helper;
    }

    public WebElement getClass2ChatItem() {
        return helper.findByText("我的电脑");
    }

        public WebElement getsenBtn() {
        return helper.findById("com.tencent.mobileqq:id/dialogRightBtn");
    }

    public void clickshareToClass2() {
        helper.click(getClass2ChatItem());
    }

    public void clickSenBtn() {
        helper.click(getsenBtn());
    }
}
